package com.syh.jn.scm.service.api.downstream.purchase;


import com.syh.jn.scm.dto.downstream.purchase.DownPurchaseReturnOrderItemVo;
import com.syh.jn.scm.dto.downstream.purchase.DownPurchaseReturnOrderMto;
import com.syh.jn.scm.dto.downstream.purchase.DownPurchaseReturnOrderSto;
import com.syh.jn.scm.dto.downstream.purchase.DownPurchaseReturnOrderVo;
import com.syh.jn.scm.dto.support.FilesDto;
import com.syh.jn.scm.service.core.BaseService;

import java.util.List;

/**
 * Date:2018/7/4
 * Author:Clown
 * 下游采购退货单增删改接口;
 */

public interface DownPurchaseReturnOrderService extends BaseService<DownPurchaseReturnOrderSto, DownPurchaseReturnOrderMto, DownPurchaseReturnOrderVo, Long> {
  /**
   * 取消订单
   *
   * @param id
   */
  public void cancel(Long id);

  /**
   * 根据id获取明细
   *
   * @param ids
   * @return
   */
  List<DownPurchaseReturnOrderItemVo> getItemsByPurchaseReturnOrderIds(Long[] ids);

  /**
   * 上传单据图片
   *
   * @param dto
   */
  public void upload(FilesDto dto);
}
